package cn.tedu.submarine;

import javax.swing.*;

/**
 * 侦察潜艇
 */
public class ObserveSubmarine extends SeaObject implements EnemyScore{

    public ObserveSubmarine() {
        super(63, 19);
    }

    @Override
    public void move() {
            x += speed;
    }

    @Override
    public ImageIcon getImage() {
        return Images.obsersubm;
    }

    @Override
    public int getScore() {
        return 20;//打掉侦察潜艇，玩家得20分
    }
}
